/**
 * @license
 * Copyright 2021 Du Tian Wei
 * SPDX-License-Identifier: Apache-2.0
 */

 Ublockly.buildinFunctionJson([
    {
        method_name: 'findFsmByType',
        arguments: [{ type: 'String', name: 'typeName' }],
        returnType: 'list<FSM>'
    },
    {
        method_name: 'findFsmByName',
        arguments: [{ type: 'String', name: 'name' }],
        returnType: 'FSM'
    },
    {
        method_name: 'loadStructFromDataset',
        arguments: [{ type: 'String', name: 'type' }, { type: 'Integer', name: 'id' }],
        returnType: 'object'
    },
]);